package day3;

import java.util.Scanner;

public class t4 {
    public static void main(String[] args) {
        int sum=0;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个两位数：");
        int i=sc.nextInt();
        for(int j=1;j<=i;j++){
            if(j%3==0 && j%5==0) sum++;
        }
        System.out.println(sum);
    }
}
